define(['text!./hobby.html', 'css!./hobby.css', 'echarts'], function(html) {
	avalon.templateCache['hobby'] = html;
	var vm = avalon.define({
		$id: "hobby",
		back: function() {
			Router.go('/basic/basic');
		},
		changeStatus:function(){
			if($(this).hasClass('current')){
				$(this).removeClass('current');
			}else{
				$(this).addClass('current');
			}
		}
	});
});